package com.aclyyx.mi.display.server;

public class ComputeThread extends Thread {

	private Param param;
	
	public ComputeThread(Param param) {
		this.param = param;
	}
	public void run() {
		param.runtime = 0;
		while (param.isGoFlag()) {
			
			param.runtime++;
			
			try {
				Thread.sleep(Param.COMPUTE_PERIOD);
			} catch (InterruptedException e) {}
		}
	}
}
